]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
private: Avoid unnecessary conversions in shadow computation
authorFlorian Müllner <fmuellner@gnome.org>
Sat, 7 Oct 2017 08:15:18 +0000 (10:15 +0200)
committerMarco Trevisan (Treviño) <mail@3v1n0.net>
Mon, 5 Feb 2018 16:09:01 +0000 (11:09 -0500)
The type was changed from double to float for no apparent reason
when moving code in commit 5060081db5f.

https://bugzilla.gnome.org/show_bug.cgi?id=788627

src/st/st-private.c

index d62586068c9867049b02afa5a7539f4d11ad4430..be78833e71377d2cb65473460d0694eb10b37f6b 100644 (file)
@@ -247,7 +247,7 @@ blur_pixels (guchar  *pixels_in,
              gint    *rowstride_out)
 {
   guchar *pixels_out;
-  float   sigma;
+  gdouble sigma;
 
   /* The CSS specification defines (or will define) the blur radius as twice
    * the Gaussian standard deviation. See: